package test.yunpay.com.mvpproject.util;

import android.util.Log;

import test.yunpay.com.mvpproject.BuildConfig;

/**
 * Created by Administrator on 2018/5/4 0004.
 */
/**
*@Author sjt
*@Date 2018/5/4 0004
*@description 日志工具
*/
public class LogUtil {
    private static final String TAG = "LOG:::";
private static boolean debug = BuildConfig.debug;
    public static void e(String tag,String msg){
        if (debug){
            Log.e(tag,msg);
        }
    }
    public static void e(String msg){
       e(TAG,msg);
    }

    public static void d(String tag,String msg){
        if (debug){
            Log.d(tag,msg);
        }
    }
    public static void d(String msg){
        d(TAG,msg);
    }
}
